package 小练习;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2024-09-13
 * Time: 9:23
 */
/*
 * 1. 求 1-100之间的偶数和  for  while do...while
 * */



public class Circulate {
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <=10; i++) {

            if(i == 6){
                return;
            }

            System.out.println(i);
        }

        while(true){
            System.out.println("A");
        }

        int n = 1;

        for (int i = 0; i < 10; i++) {
            for (int j = 0; j < 10; j++) {
                System.out.println(n++);
            }
        }
    }
}
